package com.ruoyi.cms.domain.bo;

import javax.validation.constraints.NotNull;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文章标签业务对象 cms_article_tags
 *
 * @author guorui
 * @date 2023-11-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CmsArticleTagsBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 标签表主键
     */
    @NotNull(message = "标签表主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tagId;

    /**
     * 文章ID
     */
    @NotNull(message = "文章ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long articleId;


}
